package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.DataPlatformServiceCfg;
import com.fdb.efp.nls.service.vo.DataPlatformServiceCfgVO;

import java.util.List;

/**
 * <p>
 * 请求数据平台服务配置的DAO类
 * </p>
 * @author szbd
 * @createDate 2018-11-15 18:03:22
 */
public interface DataPlatformServiceCfgDao {
    
    /**
     * 插入请求数据平台服务配置记录
     * @param dataPlatformServiceCfg
     * @return
     */
    public int insertDataPlatformServiceCfg(DataPlatformServiceCfg dataPlatformServiceCfg);
    
    /**
     * 根据主键删除请求数据平台服务配置记录
     * @param dataPlatformServiceCfg
     * @return
     */
    public int deleteDataPlatformServiceCfgByPk(DataPlatformServiceCfg dataPlatformServiceCfg);
    
    /**
     * 根据主键更新请求数据平台服务配置记录
     * @param dataPlatformServiceCfg
     * @return
     */
    public int updateDataPlatformServiceCfgByPk(DataPlatformServiceCfg dataPlatformServiceCfg);
    
    /**
     * 根据主键查询请求数据平台服务配置记录
     * @param dataPlatformServiceCfg
     * @return
     */
    public DataPlatformServiceCfg queryDataPlatformServiceCfgByPk(DataPlatformServiceCfg dataPlatformServiceCfg);
    
    /**
     * 条件查询单笔请求数据平台服务配置记录
     * @param dataPlatformServiceCfg
     * @return
     */
    public DataPlatformServiceCfg querySingleDataPlatformServiceCfgByCondition(DataPlatformServiceCfg dataPlatformServiceCfg);
    
    /**
     * 查询请求数据平台服务配置记录
     * @param dataPlatformServiceCfg
     * @return
     */
    public List<DataPlatformServiceCfg> queryDataPlatformServiceCfgByCondition(DataPlatformServiceCfgVO dataPlatformServiceCfgVo);
    
    /**
     * 条件分页查询请求数据平台服务配置记录
     * @param dataPlatformServiceCfg
     * @return
     */
    public List<DataPlatformServiceCfg> queryDataPlatformServiceCfgByConditionByPage(DataPlatformServiceCfgVO dataPlatformServiceCfgVo);
    
    /**
     * 查询本人所属的记录
     * @param dataPlatformServiceCfgVo
     * @return
     */
    public List<DataPlatformServiceCfg> queryAllOwnerByPage(DataPlatformServiceCfgVO dataPlatformServiceCfgVo);
    
    /**
     * 查询本机构的记录
     * @param dataPlatformServiceCfgVo
     * @return
     */
    public List<DataPlatformServiceCfg> queryAllCurrOrgByPage(DataPlatformServiceCfgVO dataPlatformServiceCfgVo);
    
    /**
     * 查询本机构及下属机构的记录
     * @param dataPlatformServiceCfgVo
     * @return
     */
    public List<DataPlatformServiceCfg> queryAllCurrDownOrgByPage(DataPlatformServiceCfgVO dataPlatformServiceCfgVo);
}